// goods 商品管理模块路由
import Goods from '@/pages/goods'
import GoodsList from '@/pages/goods/goods-list'
import GoodsCategory from '@/pages/goods/goods-category'
import GoodsAttr from '@/pages/goods/goods-attr'

const goodsRoutes = {
  name: 'goods',
  path: 'goods',
  component: Goods,
  redirect: 'goods/list',
  children: [{
    path: 'list',
    component: GoodsList
  },
  {
    path: 'category',
    component: GoodsCategory
  },
  {
    path: 'attr',
    component: GoodsAttr
  }
  ]
}

export default goodsRoutes
